home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ MSO Outlook 1.xpl < prev    next >
Text File  |  1999-09-10  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Office 97"
  5. "NAME"="Outlook Logging"
  6. "VERSION"="1.10"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Log SMTP and POP3 communication"
  9. "DESCRIPTION 1"="If the first option is activated, Outlook will log all its communication with the server(s)."
  10. "DESCRIPTION 2"="These logs can be found in your TEMP folder "Outlook Logging" (for example: C:\TEMP\Outlook Logging)."
  11. "DESCRIPTION 3"="If you don't need them anymore, you should turn this feature off to save HD space."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com"
  15.  
  16.  
  17. sPath1="HKCU\Software\Microsoft\Office\8.0\Outlook\Options\Mail\"
  18. sValue1="Logging"
  19.  
  20. Sub Plugin_Initialize 
  21.  if RegPathExists(sPath1) then
  22.  
  23.   i=RegReadValue(sPath1 & sValue1)
  24.   if i=1 then
  25.    Call SetUIElement(1,True)
  26.   end if
  27.  
  28.  else
  29.    Disable
  30.  end if
  31. End Sub
  32.  
  33. Sub Plugin_CheckData(ElementIndex)
  34. End Sub
  35.  
  36. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  37.  i=GetUIElement(1)
  38.  if i=true then
  39.   Call RegWriteValue(sPath1 & sValue1,1,2)
  40.  else
  41.   Call RegWriteValue(sPath1 & sValue1,0,2)
  42.  end if
  43. End Sub
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.